﻿using FluentNHibernate.Mapping;
using Shape.Mvp.Sample.Conversations.Domain.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shape.Mvp.Sample.Conversations.Infrastructure.Hibernate.Mapping
{
	public class CakeMap : ClassMap<Cake>
	{
		CakeMap()
		{
			Not.LazyLoad();

			Id(x => x.Id).Column("CakeId").GeneratedBy.GuidComb();

			Map(x => x.Name);
		}
	}
}
